package com.kgc.collection.remote;

import com.kgc.basic.util.ResponseMsg;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

import java.util.Map;

public interface SalesCollectionRemote {


    @RequestMapping("/selectSalesCollectionByPage")
    @ResponseBody
    ResponseMsg  selectSalesCollectionByPage(@RequestBody Map<String, Object> map);


    @RequestMapping("/insertSalesCollection")
    @ResponseBody
    ResponseMsg  insertSalesCollection(@RequestBody Map<String, Object> map);


    @RequestMapping("/selectSalesCollectionDetail")
    @ResponseBody
    ResponseMsg  selectSalesCollectionDetail(@RequestBody Map<String, Object> map);

    @RequestMapping("/updateSalesCollection")
    @ResponseBody
    ResponseMsg  updateSalesCollection(@RequestBody Map<String, Object> map);

    @RequestMapping("/deleteSalesCollection")
    @ResponseBody
    ResponseMsg  deleteSalesCollection(@RequestBody Map<String, Object> map);

    @RequestMapping("/checkSalesCollection")
    @ResponseBody
    ResponseMsg checkSalesCollection(@RequestBody Map<String, Object> map);

    @RequestMapping("/selectSalesCollectionByCode")
    @ResponseBody
    ResponseMsg selectSalesCollectionByCode(@RequestBody Map<String, Object> map);


}
